#define  _CRT_SECURE_NO_WARNINGS 
#include <stdio.h>
int main()
{
	int arr[] = { 0,3,5,7,32,0,0,32,4,3,2 };
	int n = sizeof(arr)/4;
	int dest = -1;
	int cur = 0;
	while (cur < n)
	{
		if (arr[cur])
		{
			dest++;
		}
		else
			dest += 2;
		if (dest >= n - 1)break;
		cur++;

	}
	if (dest == n)
	{
		arr[n - 1] = 0;
		dest -= 2;
		cur--;
	}
	while (cur >= 0)
	{
		if (arr[cur])
			arr[dest--] = arr[cur--];
		else
		{
			arr[dest--] = 0;
			arr[dest--] = 0;
			cur--;
		}
	}
	int i = 0;
	for (i = 0; i < n; i++)
	{
		printf("%d", arr[i]);
	}
	return 0;
}